<?php

namespace OrderBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Orders
 *
 * @ORM\Table(name="orders")
 * @ORM\Entity(repositoryClass="OrderBundle\Repository\OrdersRepository")
 */
class Orders
{
    /**
     * @var int
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var int
     *
     * @ORM\Column(name="tid", type="bigint", unique=true)
     */
    private $tid;

    /**
     * @var string
     *
     * @ORM\Column(name="status", type="string", length=255)
     */
    private $status;

    /**
     * @var string
     *
     * @ORM\Column(name="buyer_nick", type="string", length=255, nullable=true)
     */
    private $buyerNick;

    /**
     * @var string
     *
     * @ORM\Column(name="payment", type="decimal", precision=10, scale=2)
     */
    private $payment;

    /**
     * @var string
     *
     * @ORM\Column(name="receiver_name", type="string", length=255)
     */
    private $receiverName;

    /**
     * @var string
     *
     * @ORM\Column(name="recevier_phone", type="string", length=255)
     */
    private $recevierPhone;

    /**
     * @var string
     *
     * @ORM\Column(name="total_fee", type="decimal", precision=10, scale=2)
     */
    private $totalFee;


    /**
     * Get id
     *
     * @return int
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set tid
     *
     * @param integer $tid
     *
     * @return Orders
     */
    public function setTid($tid)
    {
        $this->tid = $tid;

        return $this;
    }

    /**
     * Get tid
     *
     * @return int
     */
    public function getTid()
    {
        return $this->tid;
    }

    /**
     * Set status
     *
     * @param string $status
     *
     * @return Orders
     */
    public function setStatus($status)
    {
        $this->status = $status;

        return $this;
    }

    /**
     * Get status
     *
     * @return string
     */
    public function getStatus()
    {
        return $this->status;
    }

    /**
     * Set buyerNick
     *
     * @param string $buyerNick
     *
     * @return Orders
     */
    public function setBuyerNick($buyerNick)
    {
        $this->buyerNick = $buyerNick;

        return $this;
    }

    /**
     * Get buyerNick
     *
     * @return string
     */
    public function getBuyerNick()
    {
        return $this->buyerNick;
    }

    /**
     * Set payment
     *
     * @param string $payment
     *
     * @return Orders
     */
    public function setPayment($payment)
    {
        $this->payment = $payment;

        return $this;
    }

    /**
     * Get payment
     *
     * @return string
     */
    public function getPayment()
    {
        return $this->payment;
    }

    /**
     * Set receiverName
     *
     * @param string $receiverName
     *
     * @return Orders
     */
    public function setReceiverName($receiverName)
    {
        $this->receiverName = $receiverName;

        return $this;
    }

    /**
     * Get receiverName
     *
     * @return string
     */
    public function getReceiverName()
    {
        return $this->receiverName;
    }

    /**
     * Set recevierPhone
     *
     * @param string $recevierPhone
     *
     * @return Orders
     */
    public function setRecevierPhone($recevierPhone)
    {
        $this->recevierPhone = $recevierPhone;

        return $this;
    }

    /**
     * Get recevierPhone
     *
     * @return string
     */
    public function getRecevierPhone()
    {
        return $this->recevierPhone;
    }

    /**
     * Set totalFee
     *
     * @param string $totalFee
     *
     * @return Orders
     */
    public function setTotalFee($totalFee)
    {
        $this->totalFee = $totalFee;

        return $this;
    }

    /**
     * Get totalFee
     *
     * @return string
     */
    public function getTotalFee()
    {
        return $this->totalFee;
    }
}

